package com.alan.designMode.proxy;

/**
 * Created by Alan on 17-8-29
 */
public class GamePlayer2 implements IGamePlayer2{

    private String name = "";


    public GamePlayer2(String name) {
        this.name = name;
    }


    @Override
    public void login(String user, String password) {
        System.out.println("name = "+user+",user login success!");
    }

    @Override
    public void killBoss() {
        System.out.println("user killBoss...");
    }

    @Override
    public void upgrade() {
        System.out.println("user upgrade...");
    }


}
